package cn.leaf.redis.props;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 *
 * description: redis配置
 *
 * @author twinkle leaf
 * @version v1.0.0
 * @since 2021-11-02 09:27:05
 * slogan: There are no two identical leaves in the world.
 *
 */
@Getter
@Setter
@ConfigurationProperties(LeafRedisProperties.PREFIX)
public class LeafRedisProperties {
	/**
	 * 前缀
	 */
	public static final String PREFIX = "leaf-lettuce-redis";
	/**
	 * 是否开启Lettuce
	 */
	private Boolean enable = true;
}
